package com.wht.bill;

import android.app.Application;
import android.content.Context;

import com.hjq.toast.ToastUtils;
import com.tencent.mmkv.MMKV;
import com.wht.bill.common.ToastStyle;

/**
 * Created by Administrator on 2017/10/23 0023.
 */

public class MyApplication extends Application {

    public static MyApplication application;
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        application = this;
        context = getApplicationContext();
        ToastUtils.init(this, new ToastStyle());
        MMKV.initialize(this);
    }
}
